﻿@model CmsEntityMetaInformation
@{
    ViewBag.Title = "Site Meta Fields";    
}

<h1 class="g-clear">
	<i class="b-icon b-icon_h b-icon_h_pages"></i>
	<span class="b-overflow">
	Site Meta Fields
	<span class="b-intro-text">This section allows to manage meta fields for sites.</span>  
	</span>  
</h1>

<div id="TabStrip" class="t-widget t-tabstrip t-header">
    @Html.Partial("ConfigurationMenu", 5)
	<div style="display: block;" id="TabStrip-1" class="t-content t-state-active">
		<div class="t-content-inner g-clear">
			<p class="clear-left">
			    <a class="b-button b-button_save" href="@Url.Action("Values")">Site Properties</a>
                <a class="b-button b-button_save" href="@Url.Action("index")">Manage meta</a>
			</p>	
            @using(Html.BeginForm())		
            {
			    <fieldset class="b-form b-form__userdetails">
                    <ol class="b-form__rows ul-reset g-clear">
                <li class="g-clear">
                    @Html.Action("EntityMetaValues", "CmsMetaField", new { metaInformation = Model, isValid = ViewData.ModelState.IsValid })
                </li>
                </ol>
                </fieldset>
                <div class="b-form__button">    
                     <input class="b-button" id="btnSave" name="btnSave" type="submit" value="Save" />
                </div>
            }
		</div>
	</div>
</div>